﻿<Window x:Class="Streamline3D.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
        Title="MainWindow" WindowState="Maximized">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*"/>
			<ColumnDefinition Width="500"/>
		</Grid.ColumnDefinitions>
		
		<d3:TrackballDecorator Grid.Column="0">
			<d3:Interactive3DDecorator>
				<Viewport3D IsHitTestVisible="False" IsEnabled="False">

					<Viewport3D.Camera>
						<PerspectiveCamera Position="0 0 6" UpDirection="0 1 0"
                                   LookDirection="0 0 -1" FieldOfView="45">
						</PerspectiveCamera>
					</Viewport3D.Camera>

					<d3:StreamlineChart3D x:Name="streamlineChart">
						<d3:StreamlineChart3D.Pattern>
							<d3:BackPattern3D/>
						</d3:StreamlineChart3D.Pattern>
					</d3:StreamlineChart3D>
					
					<d3:DynamicStreamlineChart3D x:Name="dynamicStreamLine"/>
					
					<d3:Axes Extent="6"/>
				</Viewport3D>
			</d3:Interactive3DDecorator>
		</d3:TrackballDecorator>
		
		<d3:ChartPlotter Width="500" Height="500" Grid.Column="2" Margin="5" Name="chartPlotter" RemoveMouseNavigation="True">
			<d3:PatternChart2D x:Name="patternChart"/>
		</d3:ChartPlotter>
	</Grid>
</Window>
